﻿body 
{
  background-color: #000;
  color: #ddd;
}

#main
{
  width: 1220px;
  height: 768px;
  margin: 0px auto;
  border: solid 1px #fff;
}

/******************* Left Part *********************/

#mapmain
{
  width: 960px;
  height: 768px;
  float: left;
  overflow: hidden;
  position: relative;
}

#Xbar
{
  width: auto;
  height: 32px;
  position: relative;
  background-color: #222;
  line-height: 32px;
  vertical-align: middle;
  opacity: 0.5;
}

#Ybar
{
  width: 32px;
  height: auto;
  position: relative;
  text-align: center;
  background-color: #333;
  opacity: 0.5;
}

.xlabel{
    display: inline-block;
    height: 32px;
    text-align: center;
}

.ylabel{
    display: inline-block;
    width: 32px;
    vertical-align: middle;
}

#map{
  position: relative;
  top: 0px;
  left: 0px;
  width: 960px;
  height: 768px;
}
/******************* Right Part *********************/

#panel
{
  width: 245px;
  height: 768px;
  margin: 0px 5px;
  border-left: solid 1px #fff;
  float: left;
  padding-left: 4px;
}

#panel input{
  width: auto;
  padding: 5px;
  border: outset 1px #eee;
  background-color: #000;
  color: #fff;
  font-weight: bold;
}

#layerTemplate
{
  display: none;
}

#panel a
{
  color: #fff;
  text-decoration: none;
  display: inline-block;
  min-width: 10px;
  min-height: 10px;
  cursor: pointer;
  padding: 2px;
}

/********************* Layer Panel ****************/
ul#layers
{
  padding: 0px;
  height: 150px;  
  overflow: auto;
  border: solid 1px #aaa;
  margin: 5px 0px;
}
ul#layers li
{
  list-style-type: none;
  cursor: pointer;
  padding: 3px;
  border: solid 1px #000;
}
ul#layers li.current
{
  background-color: #443;
  border: solid 1px #888;
}

#layerOps{
 background-color: #333;
 padding: 2px 8px;
 margin-bottom: 16px;
}

#layerOps a{
  padding: 0px 5px;
  border: solid 1px #333;
}

#layerOps a:hover
{
  border: solid 1px #eee;
}

a#moveUpLayer, a#moveDownLayer
{
  display: none;
}

#Settings
{
  border-top: solid 1px #eee;
  background-color: #333;
  height: 494px;
  padding-left: 10px;
  padding-right: 10px;
}

#Settings div, #Settings input{
  font-weight: bold;
}
#Settings div{
  margin-top: 14px;
}
#Settings input{
  border: solid 1px #444;
  width: 220px;
  margin-top:6px; 
}

#Settings input.short
{
  width: 40px;
}

#Settings input.checkbox
{
  width: auto;
}

#Settings input#save{
  width: auto;
  border: outset 1px #eee;
}